package com.zfx.service;

import com.zfx.pojo.Template;

import java.util.List;

/**
 * @description: 合同模板服务层接口
 * @author: zfx
 */
public interface ITemplateService {

    public List<Template> findByIdAndName(Template template, int page, int size);

    public Template findById(Integer id);

    public List<Template> findByTemplate(Template template, int page, int size);

    public int save(Template template);

    public int deleteById(Integer id);

    public int update(Template template);

    public int countByIdAndName(Template template);

    public int countByTemplate(Template template);
}
